FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

PAD_CONF = "pad-${MACHINE}.txt"
PBF_CONF = "pbfconfig-${MACHINE}"

SRC_URI:append:phytium = " file://${MACHINE}.cfg "

# u-boot add build self dtb
SRC_URI:append:phytium = " \
	file://0001-u-boot-adds-build-bmc-dtb.patch \
	file://phytium-e2000s-bmc.dts;subdir=u-boot-phytium/arch/arm/dts \ 
	"

# set uart1 to debug
SRC_URI:append:phytium:df-phytium-uart1-dbg = " file://0002-u-boot-set-debug-to-uart1.patch "

# u-boot pcie init
#SRC_URI:append:phytium = " file://0003-u-boot-add-pcie-init.patch "

#dbg to print dtb
SRC_URI:remove:df-phytium-debug += " file://0001-u-boot-add-env-to-print-dtb.patch "
